import Syntaxe.Fraction;


public class test1 {

	public static void main(String[] args) {
		Fraction f1=new Fraction(4,-1);
		Fraction f2=new Fraction(1,-1);
		Fraction[] f= new Fraction[4];
		f[0]=new Fraction(1);
		f[1]=new Fraction(-2);
		f[2]=new Fraction(4);
		f[3]=new Fraction(0);
		
		f1.simplify().print();
		f2.plus(f1).print();
		
		(f1.multiple(-1).plus(f2)).print();
		if (f2.PlusGrandQue(f1)){
			System.out.println("true");
		f1.multiple(-1).print();
		}
		
		f1.PlusGrandQue(f2);
		f1.print();
		
		if (f1.multiple(f2).strictPositive())
		f1.soustraire(f2).print();
		double d1=0.0;
		int i=0;
		//if (f2.PlusGrandQue(f1))
			f1.divise(f2).print();
			
			System.out.println("f2"+f2.toDouble());
			
			//////////
			//System.out.print(5%10);
			
			System.out.println("simmmp");
			
			new Fraction(189532,4623416).simplify().print();
	}
}
